package com.tj.collection.db.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.tj.collection.db.dao.ClImagesDao;
import com.tj.collection.db.entity.ClImagesEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
* User: yujianfu
* Date: 2022-01-22
* Time: 15:01:21.947
*/

@Repository
public class ClImagesDaoImpl extends AbstractBaseMapper<ClImagesEntity> implements ClImagesDao {

    @Override
    public ClImagesEntity selectByCollectionNo(String collectionNo) {
        Map<String, Object> params = new HashMap<>();
        params.put("collectionNo", collectionNo);
        return getSqlSession().selectOne(this.getStatement("selectByCollectionNo"), params);
    }
}